package com.atguigu.springcloud.service.impl;

import com.atguigu.springcloud.service.PaymentService;
import org.springframework.stereotype.Component;

@Component
public class PaymentFallbackServiceImpl implements PaymentService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "----PaymentFallbackServiceImpl  fall back  paymentInfo_OK";
    }

    @Override
    public String paymentInfo_Bad(Integer id) {
        return "\"----PaymentFallbackServiceImpl  fall back  paymentInfo_Bad\"";
    }
}
